package com.mineoj.service;

import com.mineoj.model.dto.competitionscore.CompetitionScoreAddRequest;
import com.mineoj.model.entity.User;
import com.mineoj.model.entity.CompetitionScore;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 明月
* @description 针对表【competition_score(比赛分数)】的数据库操作Service
* @createDate 2025-04-20 20:32:43
*/
public interface CompetitionScoreService extends IService<CompetitionScore> {

    /**
     * 比赛做题
     * @param competitionScoreAddRequest
     * @param loginUser
     * @return
     */
    long doCompetitionQuestionSubmit(CompetitionScoreAddRequest competitionScoreAddRequest, User loginUser);

}
